package com.university.logistic.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "resource")
@Data
public class ResourceProperties {
    //需要直接放行的资源
    private List<String> allowOrigins;
}
